package com.ldp.designpatterns.review.create.factory.methodfactory.factory;

import com.ldp.designpatterns.review.create.factory.methodfactory.service.PepperPizza;
import com.ldp.designpatterns.review.create.factory.methodfactory.service.Pizza;

/**
 * @ClassName PepperFactory
 * @Description 胡椒pizza
 * @Author lindipei
 * @Date 2023/10/20 11:06
 */
public class PepperFactory implements MethodFactory{
    @Override
    public Pizza createPiza() {
        return new PepperPizza();
    }
}
